package servise;

/**
 * Created by User on 25.05.14.
 */
public class User {
    private int id;
    private String login;
    private String password;
    private String fullName;
    private boolean admin;

    public void setId(int id) {
        this.id = id;
    }

    public void setLogin(String login) {
        this.login = login;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public void setFullName(String fullName) {
        this.fullName = fullName;
    }

    public void setAdmin(boolean admin) {
        this.admin = admin;
    }

    public int getId() {

        return id;
    }

    public String getLogin() {
        return login;
    }

    public String getPassword() {
        return password;
    }

    public String getFullName() {
        return fullName;
    }

    public boolean isAdmin() {
        return admin;
    }

    public User(int id, String login, String password, String fullName, boolean admin) {
        this.id = id;
        this.login = login;
        this.password = password;
        this.fullName = fullName;
        this.admin = admin;
    }
}
